package com.yyx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yeyinxuan
 * @since 2024-07-05
 */
@TableName(value = "orders_voucher")
@Data
@EqualsAndHashCode(callSuper = false)
public class OrdersVoucher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠卷订单id
     */
    @TableField
    private Long orderId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 优惠卷id
     */
    private Long voucherId;

    /**
     * 下单时间
     */
    private LocalDateTime orderTime;


}
